package com.zsix.system.strategy.processVariables;

import com.zsix.common.dto.controllerParams.ProceParams;
import com.zsix.common.entity.taskAssignee.GenerWork;
import org.springframework.stereotype.Component;

import java.util.HashMap;

@Component
public interface ProcessVariableStrategy {
    /**
     * 参数赋值
     * @param generWork
     * @param proceParams
     * @return
     */
    HashMap<String,Object> SetParams(GenerWork generWork, ProceParams proceParams,
             HashMap<String,Object> hashMap,String processKey,String task_def_key
            ,String BusinessKey);

    /**
     * 获取类型
     * @return
     */
    String getType();
}
